﻿using DFGK_WMS.Model.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models.LyModel
{
    /// <summary>
    /// 车辆信息
    /// </summary>
    [Table("T_Vehicles")]
    public class Vehicles 
    {
        //车辆唯一标识
        [Key]
        public int VehicleId { get; set; }
        //车辆名称
        [StringLength(50)]
        public string Name { get; set; }
        //车辆类别
        [StringLength(50)]
        public string Category { get; set; }
        //车辆状态
        [StringLength(50)]
        public string Status { get; set; }
        //组织单位
        [StringLength(50)]
        public string Organization { get; set; }
        //采购日期
        public DateTime PurchaseDate { get; set; }
        //车辆数量
        public int Quantity { get; set; }
        //车辆价格
        public decimal Price { get; set; }
    }
}
